<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
           <h:panelGrid  columns="5" cellspacing="4">
                <h:link outcome="tweet">Tweeter</h:link>
                <h:link outcome="profile">Mon Profil</h:link>
                <h:link outcome="HashTagRecherche">Recherche hashtag</h:link>
                <h:link outcome="listUser">Follow any Users</h:link>
                <h:link outcome="ListTweet">Retweet any tweet</h:link>
            </h:panelGrid>
            <br />
        <h:form>
            User : #{ProfileBean.userTempBean.user.name}
        <br/><br/>
        Tweet : 
        <h:dataTable value="#{ProfileBean.userTempBean.user.tweets}" var="item">
            <h:column>
                <h:outputText styleClass="output" value="#{item.message}"/>
            </h:column>
        </h:dataTable>

        Followers :
        <h:dataTable value="#{ProfileBean.userTempBean.user.follow}" var="itemUser">
            <h:column>
                <h:outputText styleClass="output" value="#{itemUser.name}"/>
            </h:column>
        </h:dataTable>
        </h:form>
    </h:body>
</html>

